package com.levy.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.levy.dao.UserDao;
import com.levy.model.User;
import com.levy.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserDao userDao;

	@Override
	public User getUserById(int userId) {
		return this.userDao.getUserById(userId);
	}

	@Override
	public User getUserByCreateTime(String time) {
		return this.userDao.getUserByCreateTime(time);
	}

}
